package com.exam.service;

import com.exam.pojo.JudgeQuestion;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface JudgeQuestionService {

    JudgeQuestion findOnlyQuestionId();

    List<JudgeQuestion> findByIdAndType(Integer paperId);

    int add(JudgeQuestion judgeQuestion);

    List<Integer> findBySubject(String subject, Integer pageNo);

}
